<!DOCTYPE doctype PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">

<HTML>
  <HEAD>
    <META name="generator" content=
    "HTML Tidy for Java (vers. 2009-12-01), see jtidy.sourceforge.net">

    <TITLE>Saving Program Files</TITLE>
    <META http-equiv="content-type" content="text/html; charset=windows-1252">
    <LINK rel="stylesheet" type="text/css" href="help/shared/DefaultStyle.css">
    <META name="generator" content="Microsoft FrontPage 4.0">
  </HEAD>

  <BODY>
    <H1><A name="Save_File"></A>Saving Program</H1>

    <P>When changes are made to a program, the user must save the program.&nbsp; Otherwise, those
    changes will be lost.&nbsp; The user can either save the changed program back to the original
    program file or save the changed program to a new file, leaving the original program file
    unchanged.</P>

    <H2>Save</H2>

    <P>Saves the changed program back to the original program file. The <B>Save</B> option is only
    enabled when changes have been made. To perform this action:</P>

    <BLOCKQUOTE>
      <OL>
        <LI>From the Ghidra Tool's menu, select <B>File<IMG src="help/shared/arrow.gif" border="0"> Save</B>.</LI>
      </OL>

      <BLOCKQUOTE>
        <BLOCKQUOTE>
          <P>or</P>
        </BLOCKQUOTE>

        <P>Select the Save icon <IMG border="0" src="images/disk.png" > in
        the tool bar at the top of the Ghidra Tool.</P>
      </BLOCKQUOTE>
    </BLOCKQUOTE>

    <H2><A name="Save_As_File"></A>Save As</H2>

    <P>Saves the currently open program to a new program file. This new program file becomes the
    program that is active in the tool.&nbsp; When selecting <B>Save As...</B>, Ghidra will prompt
    for a filename. To perform this action:</P>

    <DIV style="margin-left: 2em" type="">
      <OL start="1" type="1">
        <LI>From the Ghidra Tool's menu, select <B>File<IMG src="help/shared/arrow.gif" border="0"> Save As...</B>.</LI>

        <LI>The <I>Save As...</I> dialog appears.</LI>
      </OL>
    </DIV>

    <P align="center"><IMG src="images/SaveProgramAs.png" border="0"></P>

    <DIV style="margin-left: 2em" type="">
      <OL start="3" type="1">
        <LI>Select the folder for saving the program and enter the new <I>Name</I> of the
        program.</LI>

        <LI>Click the <B>Save</B> button.</LI>

        <LI>The program is saved to the new name. This new program is the one now active in the
        Tool.</LI>
      </OL>
    </DIV>

    <P align="left">If an existing program is selected from the <B>Save As...</B> dialog, an
    overwrite confirmation dialog will be displayed.&nbsp;</P>

    <H2><A name="Save_All_Files"></A>Save All</H2>

    <P>Saves any currently open programs. If any program has never been saved before, Ghidra will
    prompt for a filename.</P>

    <DIV style="margin-left: 2em" type="">
      <OL start="1" type="1">
        <LI>From the Ghidra Tool's menu, select <B>File<IMG src="help/shared/arrow.gif" border="0"> Save All</B>.</LI>
      </OL>
    </DIV>

    <P align="left">&nbsp;</P>

    <P align="left" class="providedbyplugin">Provided by: <I>Program Manager</I> Plugin</P>

    <P class="relatedtopic">Related Topics:</P>

    <UL>
      <LI><A href="Opening_Program_Files.htm">Open Program</A></LI>

      <LI><A href="Closing_Program_Files.htm">Close Program</A></LI>
    </UL>

    <P>&nbsp;</P>
    <BR>
     <BR>
     <BR>
  </BODY>
</HTML>
